package com.cndw.kungfu.domain;

/**
 * 玩家数据表任务
 * @author fantadust
 * @date 2011-4-29 下午04:58:42
 */
public class Task {
	/**
	 * 自增id
	 */
	private long id;
	/**
	 * 玩家id
	 */
	private long playerId;
	/**
	 * 任务系统id
	 */
	private int taskId;
	/**
	 * 任务状态
	 */
	private int status;

	/**
	 * 添加时间
	 */
	private int addTime;
	/**
	 * 完成时间
	 */
	private int finishTime;
	/**
	 * 品质
	 */
	private int quality;
	
	/**
	 * 初始
	 */
	public static final int STATE_INIT = 0;
	
	/**
	 * 可接
	 */
	public static final int STATUS_CANACCEPT = 1;
	
	/**
	 * 进行中
	 */
	public static final int STATUS_DOING = 2;	

	/**
	 * 完成任务
	 */
	public static final int STATUS_FINISH = 3;
	/**
	 * 领取,终结
	 */
	public static final int STATUS_END = 4;
	
	
	public long getId() {
		return id;
	}
	public void setId(long id) {
		this.id = id;
	}
	public long getPlayerId() {
		return playerId;
	}
	public void setPlayerId(long playerId) {
		this.playerId = playerId;
	}
	public int getTaskId() {
		return taskId;
	}
	public void setTaskId(int taskId) {
		this.taskId = taskId;
	}
	public int getStatus() {
		return status;
	}
	public void setStatus(int status) {
		this.status = status;
	}
	public int getAddTime() {
		return addTime;
	}
	public void setAddTime(int addTime) {
		this.addTime = addTime;
	}
	public int getFinishTime() {
		return finishTime;
	}
	public void setFinishTime(int finishTime) {
		this.finishTime = finishTime;
	}
	public int getQuality() {
		return quality;
	}
	public void setQuality(int quality) {
		this.quality = quality;
	}
	
	
	
	
}
